/*
编写 : Hexh
时间 : 2012-5-25 10:31:04
*/
using System.Collections.Generic;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;
using HMIS.Infrastructure.Core.Entities;

namespace HMIS.Infrastructure.Facade
{
	/// <summary>
	///	 the interface of IInfraApproveStepFacade
	/// </summary>
	public interface IInfraApproveStepFacade : IDomainFacade
	{

		InfraApproveStep Get(string id);

		InfraApproveStep Load(string id);

		void SaveOrUpdate(InfraApproveStep entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<InfraApproveStep> GetAll();

		IList<InfraApproveStep> GetPlist(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

	}
}
